<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/framework/web/common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<%=request.getContextPath() %>/admin/travelInfo/travelInfo.js"></script>
<title>旅游攻略</title>
</head>
<body>
	<div id="toolbar">
		<table>
			<tr>
				<td><img src="<%=request.getContextPath()%>/framework/images/button/add.png"/></td>
				<td><a href="#" onclick="addTravelArticle()">增加文章</a></td>
				<td><img src="<%=request.getContextPath()%>/framework/images/button/edit.png"/></td>
				<td><a href="#" onclick="updateTravelArticle()">修改文章</a></td>
				<td><img src="<%=request.getContextPath()%>/framework/images/button/delete.png"/></td>
				<td><a href="#" onclick="deleteTravelArticle()">删除文章</a></td>
			</tr>
		</table>
	</div>
	<table class="business">
		<thead>
		<tr>
			<th width="5%">&nbsp;</th>
			<th width="60%">标题</th>
			<th width="15%">创建者</th>
			<th width="20%">创建时间</th>
		</tr>
		</thead>
		<tbody>
		<s:iterator value="articleList">
			<tr>
				<td><input type="checkbox" onclick="singleCheck(this)" value="<s:property value="id"/>"/></td>
				<td><s:property value="title"/></td>
				<td><s:property value="creatorId"/></td>
				<td><s:property value="createTime"/></td>
			</tr>
		</s:iterator>
		</tbody>
		<tfoot>
	 	<tr>
			<td colspan="4">
			<s:set name="pageUrl">getTravelArticleList.action</s:set>
			<s:include value="/framework/web/Page.jsp">
			</s:include>
			</td>
		</tr>
		</tfoot>
	</table>
</body>
</html>